/* 
    体型大小
*/
document.querySelector(".bingdundun").style.transform = `scale(${bingDwenDwenSize})`

/*
    眨眼动态
*/
setInterval(() => {
	active()
}, 3000)
function active() {
	const eye1 = document.querySelector(".eye1")
	const eye2 = document.querySelector(".eye2")
	eye1.classList.add("afActive", "beActive")
	eye2.classList.add("afActive", "beActive")

	document.querySelector(".highlight1").style.display = "none"
	document.querySelector(".highlight2").style.display = "none"
	document.querySelector(".tongKong1").style.display = "none"
	document.querySelector(".tongKong2").style.display = "none"
	document.querySelector(".bright1").style.display = "none"
	document.querySelector(".bright2").style.display = "none"

	setTimeout(() => {
		eye1.classList.remove("afActive", "beActive")
		eye2.classList.remove("afActive", "beActive")
		document.querySelector(".highlight1").style.display = "block"
		document.querySelector(".highlight2").style.display = "block"
		document.querySelector(".tongKong1").style.display = "block"
		document.querySelector(".tongKong2").style.display = "block"
		document.querySelector(".bright1").style.display = "block"
		document.querySelector(".bright2").style.display = "block"
	}, 200)
}

/*
	五环动态
*/
setTimeout(function () {
	document.querySelector(".olympicRings .blue").style.top = "0px"
}, 1000)
setTimeout(function () {
	document.querySelector(".olympicRings .black").style.top = "0px"
}, 1100)
setTimeout(function () {
	document.querySelector(".olympicRings .red").style.top = "0px"
}, 1200)
setTimeout(function () {
	document.querySelector(".olympicRings .yellow").style.top = "60px"
}, 1300)
setTimeout(function () {
	document.querySelector(".olympicRings .green").style.top = "60px"
}, 1500)
